package cn.sinata.wanglin.net.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 *
 * Created by liaoxiang on 16/6/23.
 */
public class CarType implements Serializable {
    @SerializedName("cartypeId")
    private String typeId;
    @SerializedName("brandname")
    private String brandName;
    @SerializedName("cartypename")
    private String typeName;
    private String brandId;

    public String getTypeId() {
        return typeId == null?"":typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getBrandId() {
        return brandId;
    }

    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }

    @Override
    public String toString() {
        return "CarType:{brandId:"+brandId+",typeName:"+typeName+",brandName:"+brandName+",typeId:"+typeId+"}";
    }
}
